public class Anim {
   public int a;
   public int b;

   public void das() {
       System.out.println("父类方法hhhh");
   }
}
class Aa extends Anim {

    public void das() {
        System.out.println("子类方法eeee");
    }
    public void wer() {
        System.out.println("子类方法eeee");

    }
    public void gea() {
        das();
        wer();
    }
    public static void main(String[] args) {
        Aa aa = new Aa();
        aa.gea();

    }
}

class B extends Anim{
   public int d;
}

